class TestLogin(object):
    # 获取验证码
    @classmethod
    def getsms(cls, session, mobile):
        url = f"http://uat-ulm-sale-admin.jsunet.cn/backend/admin/systems/admin-users/login/smscode/{mobile}"
        resp = session.post(url)
        return resp

    # 登录
    @classmethod
    def login(cls, session, mobile, Login_param):
        url = f"http://uat-ulm-sale-admin.jsunet.cn/backend/admin/systems/admin-users/login/{mobile}"
        resp = session.post(url, data=Login_param)
        return resp
